package com.itheima.service.system;

import com.itheima.domain.system.Permission;
import com.itheima.domain.system.Role;

import java.util.List;

public interface RoleService {
    List<Role> list(int pageN, int pageS);

    Permission findById(String id);

    void save(Role role);

    void delete(String id);

    Role findRole(String rid);

    List<String> findPermById(String id);

    void savePerm(String rid, String[] ids);

    List<Role> findAll();

    List<Role> selectLike(String msg, int pageN, int pageS);
}
